package com.profgj.profgj.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 查询接收项目的总消耗量结果对象
 * SELECT
 * en.en_name,
 * pbi.`id` as project_id,
 * pbi.`project_name`,
 * SUM(pme.`product_month_electricity`),
 * SUM(pme.`product_month_coal`),
 * SUM(pme.`product_month_naturalgas`),
 * SUM(pme.`product_month_fueloil`),
 * SUM(pme.`product_month_water`)
 * FROM enterprise AS en RIGHT JOIN fgj.`project_base_info` AS pbi ON en.id = pbi.`en_id`
 * RIGHT JOIN product AS p ON pbi.id = p.`project_base_info_id`
 * RIGHT JOIN fgj.`product_month_energyconsumption` AS pme ON p.`id`=pme.`product_id`
 * WHERE pbi.`id` = ?
 */
@ApiModel(value = "查询接收项目的总消耗量结果对象",description = "查询接收项目的总消耗量结果对象")
public class ProjectTotalConsumer {

    /**
     * 企业名
     */
    @ApiModelProperty(value = "企业名")
    private String enName;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 项目名
      */
    @ApiModelProperty(value = "项目名")
    private String projectName;
    /**
     * 该项目的下的所有产品所有电力月消耗量的之合
     */
    @ApiModelProperty(value = "该项目的下的所有产品所有电力月消耗量的之合")
    private Long sumMonthElectricity;
    /**
     * 该项目的下的所有产品所有煤炭月消耗量的之合
     */
    @ApiModelProperty(value = "该项目的下的所有产品所有煤炭月消耗量的之合")
    private Double sumMonthCoal;
    /**
     * 该项目的下的所有产品所有天然气月消耗量的之合
     */
    @ApiModelProperty(value = "该项目的下的所有产品所有天然气月消耗量的之合")
    private Double sumMonthNaturalgas;
    /**
     * 该项目的下的所有产品所有燃料油月消耗量的之合
     */
    @ApiModelProperty(value = "该项目的下的所有产品所有燃料油月消耗量的之合")
    private Double sumMonthFueloil;
    /**
     * 该项目的下的所有产品所有水月消耗量的之合
     */
    @ApiModelProperty(value = "该项目的下的所有产品所有水月消耗量的之合")
    private Double sumMonthWater;

    public String getEnName() {
        return enName;
    }

    public void setEnName(String enName) {
        this.enName = enName;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Long getSumMonthElectricity() {
        return sumMonthElectricity;
    }

    public void setSumMonthElectricity(Long sumMonthElectricity) {
        this.sumMonthElectricity = sumMonthElectricity;
    }

    public Double getSumMonthCoal() {
        return sumMonthCoal;
    }

    public void setSumMonthCoal(Double sumMonthCoal) {
        this.sumMonthCoal = sumMonthCoal;
    }

    public Double getSumMonthNaturalgas() {
        return sumMonthNaturalgas;
    }

    public void setSumMonthNaturalgas(Double sumMonthNaturalgas) {
        this.sumMonthNaturalgas = sumMonthNaturalgas;
    }

    public Double getSumMonthFueloil() {
        return sumMonthFueloil;
    }

    public void setSumMonthFueloil(Double sumMonthFueloil) {
        this.sumMonthFueloil = sumMonthFueloil;
    }

    public Double getSumMonthWater() {
        return sumMonthWater;
    }

    public void setSumMonthWater(Double sumMonthWater) {
        this.sumMonthWater = sumMonthWater;
    }
}
